# To change this template, choose Tools | Templates
# and open the template in the editor.

def Load():
    rList = []
    f = open("config.xml", "r")
    text = f.readlines()
    for n in range(len(text)):
        newline = str(text[n]).replace("\n","")
        if "ip" in newline:
            rList.append(newline.replace("ip=",""))
        if "width" in newline:
            rList.append(newline.replace("width=",""))
        if "height" in newline:
            rList.append(newline.replace("height=",""))
        if "fullscreen" in newline:
            rList.append(newline.replace("fullscreen=",""))
        if "shadows" in newline:
            rList.append(newline.replace("shadows=",""))
        if "shaders" in newline:
            rList.append(newline.replace("shaders=",""))
        if "vsync" in newline:
            rList.append(newline.replace("vsync=",""))
    return rList
                          


